<?php
/**
 * Created by PhpStorm.
 * User: godjarvis
 * Date: 2020/08/05
 * Time: 16:19
 */

namespace App\Http\Requests\Product;

use App\Http\Requests\PageRequest;
use Fresh\Annotation\MappingParam;
use Fresh\Annotation\RequestFilter;
use Fresh\Annotation\RequestParam;

class IndexRequest extends PageRequest
{
    /**
     * @RequestParam()
     * @var string
     */
    public $keywords;

    /**
     * @RequestParam()
     * @MappingParam(value="json", type="EVENT")
     * @var FilterItem
     */
    public $filter;
}
